/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dca.sistemascontrole.domain;

/**
 *
 * @author Rafael
 */
public class VariaveisDeControle {

    private double setPoint = 0;
    private double erro = 0;
    private double ui = 0;
    private double up = 0;
    private double ud = 0;
    private double u = 0;
    private double uSaturado = 0;

    public VariaveisDeControle() {
    }

    public VariaveisDeControle(double uk, double up, double ud, double u, double uSaturado) {
        this.ui = uk;
        this.up = up;
        this.ud = ud;
        this.u = u;
        this.uSaturado = uSaturado;
    }

    public double getUi() {
        return ui;
    }

    public void setUi(double uk) {
        this.ui = uk;
    }

    public double getUp() {
        return up;
    }

    public void setUp(double up) {
        this.up = up;
    }

    public double getUd() {
        return ud;
    }

    public void setUd(double ud) {
        this.ud = ud;
    }

    public double getU() {
        return u;
    }

    public void setU(double u) {
        this.u = u;
    }

    public double getuSaturado() {
        return uSaturado;
    }

    public void setuSaturado(double uSaturado) {
        this.uSaturado = uSaturado;
    }

    public double getSetPoint() {
        return setPoint;
    }

    public void setSetPoint(double setPoint) {
        this.setPoint = setPoint;
    }

    public double getErro() {
        return erro;
    }

    public void setErro(double erro) {
        this.erro = erro;
    }
}
